package cn.sxt.logistics.service.impl;

import cn.sxt.logistics.pojo.Admin;
import cn.sxt.logistics.mapper.AdminMapper;
import cn.sxt.logistics.service.IAdminService;
import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author ${author}
 * @since 2020-06-13
 */
@Service
@Transactional
public class AdminServiceImpl extends ServiceImpl<AdminMapper, Admin> implements IAdminService {

    @Override
    public List<Admin> selectAdmins(Wrapper wrapper) {
        return baseMapper.selectAdmins(wrapper);
    }
}
